package com.jumi.microservice.enumerate;

import com.jumi.microservice.common.base.dto.AbstractEnum;

/**
 * @author scw
 * @date 2020/11/2
 */
public enum ClientTypeEnum implements AbstractEnum<Integer> {
    /**
     * 客户端：1、app 2、H5 3、小程序
     */
    APP_CLIENT(1, "APP客户端"),
    H5_CLIENT(2, "H5客户端"),
    APPLETS_CLIENT(3, "小程序客户端");

    private Integer code;
    private String msg;

    ClientTypeEnum(int code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    @Override
    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }
}